package com.fitns.user.exception;

public enum CollectDataMsgCode implements MsgCode {
    Collect_ORGAN_OR_IS_NULL(50001, "未选中设施所属机构或上级！"),
    Collect_ID_IS_NULL(50002,"id不能为空"),
    Collect_DATA_IS_NOT_EXIST(50003,"该项不存在"),
    Collect_DATA_IS_NULL(50004,"对象不能为空"),
    Collect_TYPE_IS_NULL(50005,"设施类型为空")
    ;


    private int code;
    private String message;

    CollectDataMsgCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}